package com.sunrate.investingquote.service.router.comparator.test.compare;

import java.util.Comparator;

/**
 * @author yyh
 * @description:
 * @date 2023/07/03/ 16:15
 */
public class Rate implements Comparator<Integer> {
    private Integer value;

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public int compare(Integer o1, Integer o2) {
        return Integer.compare(o1, o2);
    }
}